package generic;

import java.util.ArrayList;
import java.util.List;

public class Box<T> {

    private T item;

    public  void put(T item){
        this.item=item;
    }


    public T get(){
        return item;
    }


    public  T getGenericItem(){
        return item;
    }

    public   <U> List<U> getU(){
        return new ArrayList<>();
    }


}
